<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >    
    <head>
        <title>-<?php echo $_GET['page']; ?>-</title>
        <link rel="stylesheet" type="text/css" href="design/css.css" />
        <meta http-equiv=content-type content="text/html;charset=utf8">
    </head>
    <body>
        <div id = "wrapper">

            <div id = "header"></div>

            <div id = "nav">
                <ul class="level1">
                    <li class="submenu"><a href ="?page=accueil">Accueil</a></li>
                    <li class="submenu"><a href = "?page=presentation">Pr&eacute;sentation</a></li>
					<li class="submenu"><a href ="?page=classement">Classement</a></li>	
                    <li class="submenu"><a>Profil</a>	
                        <ul class="level2">
                            <li class="submenu"><a href = "?page=user/profile">Mon profil</a>
                            <li class="submenu"><a href = "?page=lstGame">Jouer</a>
							<li class="submenu"><a href = "?page=user/score">Score</a>
							<li class="submenu"><a href = "?page=user/lvl">Mes niveaux</a>
							<li class="submenu"><a href = "?page=lvl/creation">Cr&eacute;ation niveau</a>
							<li class="submenu"><a href = "?page=lvl/edit">Modification niveaux</a>
							<li class="submenu"><a href = "?page=admin">Mode admin</a>
                        </ul>
                    </li>
                </ul>
            </div>
			

            <div id = "menu">
				<?php
					if(!isset($_SESSION['connect'])){
				?>
				<a href = "?page=user/connect">Se connecter</a>
				/
                <a href = "?page=user/register">S'inscrire</a>
				<?php
					}
					else{
					echo "Bienvenue " . $_SESSION['connect'] . " ! / ";
				?>
				<a href = "?page=user/logout">D&eacuteconnexion</a>
				<?php
				}
				?>
					
				
            </div>

            <div id = "contenu">
                <?php include $_VIEW; ?>
            </div>

            <div id = "footer">
                <p> &copy Ed & Djo 2012</p>
            </div>

        </div>
    </body>
</html>




